#ifndef OUTDIG_H_
#define OUTDIG_H_

#include "Command.h"
#include "Protocol.h"

class CommandOutDig : public Command
{
public:
	CommandOutDig() : Command()
	{
		MyCommandType = OutDig;
		ArgumentsLength = 2;
	}

	FailCode DoCommand()
	{
		digitalWrite(Arguments[0], Arguments[1]);
		return Success;
	}
};

#endif
